Skip to main content

Click OCR Text

Searches for given string in indicated UI element using OCR technology and clicks it.

Input

  • Element: Use the UIElement variable returned by another activity.This property cannot be used alongside the Selector property. This field supports only UIElement variables.
    • Type: ArenaRobotics.Domain.Entities.UIElement
    • Required
  • Selector: Text property used to find a particular UI element when the activity is executed.It is actually a XML fragment specifying attributes of the GUI element you are looking for and of some of its parents.
    • Type: System.String
    • Required
  • ClickType: Specifies the type of mouse click (single, double) used when simulating the click event. By default, single click is selected.
    • Type: System.Int32
    • Dropdown Options:
      • Single
      • Double
  • MouseButton: The mouse button(left, middle, right) used for click action. By default the left mouse button is selected.
    • Type: System.Int32
    • Dropdown Options:
      • Left
      • Middle
      • Right
  • Text: The string using by the mouse action. Note: All strings have to be placed between quotation marks.
    • Type: System.String
  • FPoint: Helps to make the image more readable by enlarging or reducing the size of the image by the entered setting in the OCR library. Note: Making the image too large does not mean that the image is read very well. When the image is too large, breaks can occur.
    • Type: System.Int32
    • Required
  • Language Type: OCR Language Type
    • Type: System.Int32
    • Required
    • Dropdown Options:
      • All
      • Eng
      • Tur
      • Deu
      • Fra
      • Hin
      • Ita
      • Lat
      • Rus
      • Spa
  • Config Type: Config Type of OCR
    • Type: System.Int32
    • Dropdown Options:
      • None
      • PSM 4
      • PSM 4 Only Digits
      • PSM 6
      • PSM 6 Only Digits
      • PSM 11
      • PSM 11 Only Digits
  • Is Scanned: Indicates whether the relevant image was scanned by a browser.
    • Type: System.Boolean

Common

  • Delay After: Delay time (in milliseconds) after executing the activity. The default amount of time is 300 milliseconds.
    • Type: System.Int32
  • Timeout: Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds(30 seconds).
    • Type: System.Int32
    • Required
  • Delay Before: Delay time (in milliseconds) before the activity begins performing any operations. The default amount of time is 200 milliseconds.
    • Type: System.Int32